﻿#pragma once
#define LISTMSG_GETEPHM 5005

// EphmListDlg 对话框

class EphmListDlg : public CDialogEx
{
	DECLARE_DYNAMIC(EphmListDlg)

public:
	EphmListDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~EphmListDlg();
	HICON m_hIcon;

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_EPHMLIST };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()
public:
	const CString titles[12] = {
		L"PRN",
		L"tow",
		L"health",
		L"week",
		L"toe", L"A", L"dltN", L"M0", L"ecc", L"omg",
		L"toc", L"tgd"
	};
	const INT width[12] = { 60,80,80 ,80,80,80 ,80,80,80 ,80,80, 80};

	CListCtrl datalist;

	afx_msg LRESULT addData(WPARAM wParam, LPARAM lParam);
};
